package com.ity.teamanagement.entity.inputParam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author coderFu
 * @create 2021/11/10
 */
@Data
@ApiModel("更新首页模块参数")
public class UpdateHomeModuleParam {

    @ApiModelProperty("自增id")
    @NotNull(message = "模块id不能为空")
    @Min(value = 1,message = "模块id最小值为1")
    private Integer id;

    @ApiModelProperty("模块名称")
    @NotBlank(message = "模块名称不能为空")
    private String name;

    @ApiModelProperty("链接地址")
    private String link;

}
